package com.wuge.springInjection0807.Message;

/**
 * Created by Administrator on 2017/8/7.
 */
public class Chinese implements Person {
    private MessageService service;

    public Chinese(){
        super();
    }
    public Chinese(MessageService service){
        this.service = service;
    }

    public void setService(MessageService service){
        this.service = service;
    }
    public void sendMessage(){
        this.service.printMessage();
    }
}
